package com.pactera.demo.common.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * <p>
 * 自定义 token过期，被篡改，无效时抛出的异常
 * </p>
 *
 * @author chang.zhou
 * @version 1.0
 * @date Created in 2020/3/2 16:18
 */
public class InvalidTokenException extends AuthenticationException {

    public InvalidTokenException(String msg, Throwable t) {
        super(msg, t);
    }

    public InvalidTokenException(String msg) {
        super(msg);
    }
}
